export const searchConfig: PageConfig = {
    items: [
        {
            itemType: 'text',
            modelKey: 'orderNumber',
            elInputProps: {
                placeholder: '请输入订单号'
            },
            columnProps: {
                label: '订单号'
            }
        },
        {
            modelKey: 'materialCode',
            itemType: 'text',
            elInputProps: {
                placeholder: '请输入物料编码'
            },
            columnProps: {
                label: '物料编码'
            }
        },
        {
            itemType: 'text',
            modelKey: 'materialName',
            elInputProps: {
                placeholder: '请输入物料名称'
            },
            columnProps: {
                label: '物料名称'
            }
        },
        {
            itemType: 'text',
            modelKey: 'processCode',
            elInputProps: {
                placeholder: '请输入工序编码'
            },
            columnProps: {
                label: '工序编码'
            }
        },
        {
            itemType: 'text',
            modelKey: 'processName',
            elInputProps: {
                placeholder: '请输入工序名称'
            },
            columnProps: {
                label: '工序名称'
            }
        },
        {
            itemType: 'select',
            slotName: 'plannedProcessingStatus',
            modelKey: 'plannedProcessingStatus',
            elSelectProps: {
                placeholder: '请选择',
                options: [
                    { value: 'QUEUEING', label: '排队中' },
                    { value: 'PROCESSING', label: '加工中' },
                    { value: 'COMPLETED', label: '已完工' }
                ]
            },
            columnProps: {
                label: '计划加工状态'
            }
        },
        {
            itemType: 'date',
            modelKey: 'scheduledStartRange',
            dateRange: true,
            elDatePickerProps: {
                type: 'daterange',
                rangeSeparator: '-',
                startPlaceholder: '开始日期',
                endPlaceholder: '结束日期'
            },
            columnProps: {
                label: '计划开始'
            }
        },
        {
            itemType: 'date',
            modelKey: 'scheduledEndRange',
            dateRange: true,
            elDatePickerProps: {
                type: 'daterange',
                rangeSeparator: '-',
                startPlaceholder: '开始日期',
                endPlaceholder: '结束日期'
            },
            columnProps: {
                label: '计划结束'
            }
        },
        {
            itemType: 'text',
            modelKey: 'equipmentCode',
            elInputProps: {
                placeholder: '请输入设备编码'
            },
            columnProps: {
                label: '设备编码'
            }
        },
        {
            itemType: 'text',
            modelKey: 'equipmentName',
            elInputProps: {
                placeholder: '请输入设备名称'
            },
            columnProps: {
                label: '设备名称'
            }
        }
    ]
};

export const searchConfigCell: PageConfig = {
    items: [
        {
            itemType: 'text',
            modelKey: 'orderNumber',
            elInputProps: {
                placeholder: '请输入订单号'
            },
            columnProps: {
                label: '订单号'
            }
        },
        {
            modelKey: 'materialCode',
            itemType: 'text',
            elInputProps: {
                placeholder: '请输入物料编码'
            },
            columnProps: {
                label: '物料编码'
            }
        },
        {
            itemType: 'text',
            modelKey: 'materialName',
            elInputProps: {
                placeholder: '请输入物料名称'
            },
            columnProps: {
                label: '物料名称'
            }
        },
        {
            itemType: 'text',
            modelKey: 'processCode',
            elInputProps: {
                placeholder: '请输入工序编码'
            },
            columnProps: {
                label: '工序编码'
            }
        },
        {
            itemType: 'text',
            modelKey: 'processName',
            elInputProps: {
                placeholder: '请输入工序名称'
            },
            columnProps: {
                label: '工序名称'
            }
        },
        {
            itemType: 'select',
            slotName: 'plannedProcessingStatus',
            modelKey: 'plannedProcessingStatus',
            elSelectProps: {
                placeholder: '请选择',
                options: [
                    { value: 'QUEUEING', label: '排队中' },
                    { value: 'PROCESSING', label: '加工中' },
                    { value: 'COMPLETED', label: '已完工' }
                ]
            },
            columnProps: {
                label: '计划加工状态'
            }
        },
        {
            itemType: 'text',
            modelKey: 'equipmentCode',
            elInputProps: {
                placeholder: '请输入设备编码'
            },
            columnProps: {
                label: '设备编码'
            }
        },
        {
            itemType: 'text',
            modelKey: 'equipmentName',
            elInputProps: {
                placeholder: '请输入设备名称'
            },
            columnProps: {
                label: '设备名称'
            }
        }
    ]
};
